﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="VideoInfo.aspx.cs" Inherits="Main_VideoInfo" %>

<%@ Register src="../top.ascx" tagname="top" tagprefix="uc1" %>
<%@ Register src="../bottom.ascx" tagname="bottom" tagprefix="uc2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <title>视频详细</title>
    <link href="../css/header/header.css" rel="stylesheet" type="text/css" />
    <link href="../css/footer/footer.css" rel="stylesheet" type="text/css" />
    <link href="../css/shop/shop.css" rel="stylesheet" type="text/css" /> 
    
<script language="javascript" type="text/javascript">
function btnback_onclick() {
 window.history.go(-1);
}
</script>
</head>
<body>
    <form id="form1" runat="server">
        <uc1:top ID="top1" runat="server" />
        <div class="main_all">
           <div class="content_video"> 
                <div class="shop_nav_bg"></div>
                <div class="position_L"><img src="../css/shop/Pg_r1_c4.png" /></div>
                <div class="content_title"><asp:Label ID="labname" runat="server"></asp:Label></div>
                <div class="news_w">
                <asp:HiddenField ID="HiddenField1" runat="server" />
                <script language="javascript" type="text/javascript">
                document.write('<embed src="'+document.getElementById('HiddenField1').value+'" width="500" height="400"></embed>');
                </script>
                </div>
             </div>
              <div class="rightbox">           
               <h1>更多视频</h1>
               <div class="box_text">
                   <asp:DataList ID="dlvideo" runat="server" CssClass="newstexs" RepeatColumns="1" 
                       RepeatDirection="Horizontal">
                       <ItemTemplate>
                           <asp:HiddenField ID="Hiddenvid" runat="server" Value='<%# Eval("Vid") %>' />
                           <div class="shops">
                               <asp:HyperLink ID="hlvideo" runat="server">
                               <asp:Image ID="imgbtnvideo" runat="server" Height="130px" 
                                   ImageUrl='<%# Eval("Vurl") %>' 
                                   Width="150px" />
                               </asp:HyperLink>
                               </br><asp:Label ID="labVname" runat="server" Text='<%# Eval("Vname") %>'></asp:Label>
                           </div>
                       </ItemTemplate>
                   </asp:DataList>
               </div>
             </div>
              <div class="content"> 
                <div class="shop_nav_bg">&nbsp;网友评论</div>
                <div class="position_L"><img src="../css/shop/Pg_r1_c4.png" /></div>
                <div class="content_title"></div>
                <div class="news_w">
                 <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                  <ContentTemplate>
                   <div id="newsmaincen">
                    <asp:DataList ID="dlopinion" runat="server" OnItemCommand="dlopinion_ItemCommand" Width="720px">
                           <ItemTemplate>
                                <div style="border-bottom: #666666 1px dashed; width:720px;">
                                    <div>
                                         <asp:Panel ID="Panel1" runat="server" Width="720px">
                                         <span style="font-size: 14px"></span>
                                         <asp:Label ID="lblID" runat="server" ForeColor="Red" Text='<%# Eval("留言id") %>' Visible="False"></asp:Label>
                                         <asp:Label ID="labuser" runat="server" Text='<%# Eval("留言人") %>' Font-Size="14px" ForeColor="Red"></asp:Label>
                                          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                         <asp:Label ID="lbshijian" runat="server" Text='<%# Eval("留言时间") %>' Font-Size="14px"></asp:Label>
                                         <span style="font-size: 14px"> </span>
                                         <asp:LinkButton ID="lbtndel" runat="server" CommandName="delete" Visible="False">删除</asp:LinkButton>
                                         <br />
                                         <asp:Label ID="lbl" runat="server" Text='<%# Eval("留言内容") %>' Font-Size="14px" ForeColor="Green"></asp:Label>
                                         </asp:Panel>     
                                    </div>        
                                </div>
                             </ItemTemplate>
                         </asp:DataList>
                         <div class="topbottom">
                            <asp:LinkButton ID="lbpre" runat="server" CssClass="page" CommandArgument="pre" OnCommand="IndexChanging">上页</asp:LinkButton><span></span>
                            <asp:LinkButton ID="lbnext" runat="server" CssClass="page" CommandArgument="next" OnCommand="IndexChanging">下页</asp:LinkButton><span></span>
                         </div>                     
                    </div>
                    <div class="news_tp">
                        <h2>发表评论：<span>已有<asp:Label ID="labnumber" runat="server" Font-Size="14px" ForeColor="Orange">0</asp:Label>位用户发表了看法
                              </span></h2>
                        <asp:TextBox ID="txtcontent" CssClass="apptextbox" runat="server" TextMode="MultiLine"
                                    Width="99%" Height="100px"></asp:TextBox>
                        <div class="news_ren">
                            <asp:Label ID="Label1" runat="server" Text="纺织城昵称："></asp:Label>
                            <asp:TextBox ID="txtname" runat="server" CssClass="apptextbox"></asp:TextBox>
                            <asp:Button ID="btntijiao" runat="server" CssClass="btngrey"
                                        Text="提交评论" onclick="btntijiao_Click" />
                        </div>
                    </div>
                     </ContentTemplate> 
                    </asp:UpdatePanel>
                  </div>
             </div>
        </div>
        <uc2:bottom ID="bottom1" runat="server" />
    </form>
</body>
</html>
